-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore(ignore): add /target to xtask/.gitignore
#8800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ignore): add /target to xtask/.gitignore
#8800
Conversation
|
CC @iwanders and @inner-daemons for the knowledge spread. 😄 |
|
This is on me, I told them to add the leading slash because I assumed we didn't create any other target directories. Given that I doubt people will be symlinking the target directories in xtask, I wonder if we should just use: That way, we cover symlinking the root target directory and don't regress other target directories, while still allowing files named "target"? Also, does this cover naga's xtask? |
|
Also, @ErichDonGubler, it's the holidays! You've earned a break from working on wgpu lol, though your time is very much appreciated |
|
Hopefully this is the only crate that's independent of the workspace? 🤞
That would probably address the majority of usecases? When I manually write the Thanks for addressing this @ErichDonGubler, the branch name made me chuckle btw :D |
|
I think it's pretty reasonable to expect any other main-workspace-independent crates to add their own |
Fun fact: You can find the source for this here: |
cwfitzgerald
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why this is happening. The xtask is part of the workspace, so will re-use its target directory.
|
🤦♂️ I didn't even check that lmao. I assumed at least naga xtask would use a separate cargo due to being run from a different root folder but it seems cargo is still smart enough to use the root target. Unless someone is actually experiencing this issue probably this can be closed |
|
Ahhh, derp, the |
Technically regressed from #8796; we forgot to cover all
targetdirectories we know we create.